﻿namespace Dcms.BLL
{
    using Dcms.IDAL;
    using Dcms.Model;
    using System;

    public class Dcms_ImagesBLL
    {
        private IDcms_ImagesDAL imgOp = Dcms.DALFactory.DALFactory.CreateDcms_Images();

        public Dcms_ImagesModel AddModel(Dcms_ImagesModel model)
        {
            return this.imgOp.AddModel(model);
        }

        public void DeleteModelByID(int ID)
        {
            this.imgOp.DeleteModelByID(ID);
        }

        public Dcms_ImagesModel GetModelByID(int ID)
        {
            return this.imgOp.GetModelByID(ID);
        }

        public Dcms_ImagesModel Update(Dcms_ImagesModel model)
        {
            return this.imgOp.Update(model);
        }
    }
}

